package com.qidianit.mes.pojo.pro;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: YKYB
 * @Date: 2025/9/18 15:05
 * @Description: 工序步骤实体类
 */
@Data
@TableName("process_step")
public class ProcessStep {
    private Long id;
    private Integer processId;
    private Integer stepOrder;
    private String materialUrl;
    private String auxiliaryEquipment;
    private String auxiliaryMaterial;
    private String stepDescription;
    private String remarks;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    private Integer creatorId;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;

    private Integer modifierId;
    private Integer isDeleted;
}
